home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / TextHarvest / TextHarvest-Install.exe / {app} / Help-PommelScan.txt < prev    next >
Text File  |  2005-01-26  |  7KB  |  118 lines

  1. <h1>User Manual: PommelScan</h1>
  2.  
  3. <hl><b>Note: </b>This help file was created for advanced users of Pinnacle Software products who need to create their own help files.
  4. </hl>
  5. The PommelScan program searches one or more directories for files with a particular wildcard pattern. It displays a menu of the files it found, which can then be viewed.
  6.  
  7. Normally, the files will use Pinnacle Software's <a href="#POMMELOV">Pommel</a> markup language, but an ordinary text file also works ù provided you leave a blank space between paragraphs.
  8.  
  9. <H2>Command-line Parameters</H2>
  10.  
  11. PommelScan recognizes the following command-line parameters.
  12. <hl>
  13.    ùùùùùù  ùùùùùùùùùùùùùù  ùùùùùùùùùùùùùùùùùùùùùùù  ùùùùùùùùùùùùùùùùùùùùùù
  14.    Switch  Example         Explanation              Default
  15.    ùùùùùù  ùùùùùùùùùùùùùù  ùùùùùùùùùùùùùùùùùùùùùùù  ùùùùùùùùùùùùùùùùùùùùùù
  16.      /D    /D"C:\MyFiles"  Directories to search    PommelScan's directory
  17.      /W    /W"ABC-*.txt"   Wildcard mask            Help-*.txt
  18.      /P    /P-             Pommel mode off          On
  19.      /?    /?              Displays this help file  None
  20.    ùùùùùù  ùùùùùùùùùùùùùù  ùùùùùùùùùùùùùùùùùùùùùùù  ùùùùùùùùùùùùùùùùùùùùùù
  21. </hl>
  22. Directories listed in the /D parameter must be separated by semicolons. For example:
  23. <hl>
  24.   /D"c:\My Files;c:Inventory;d:Test"
  25. </hl>
  26. As shown above, if the parameter following a switch contains spaces, it must be enclosed in quotes.
  27.  
  28. If you turn Pommel mode off (/P-), PommelScan can be used as an ordinary text-file browser. Normally, though, Pommel mode is <b>on</b>, which means that PommelScan will display files with word-wrap enabled, and will process Pommel markup tags.
  29.  
  30. <a name="POMMELOV"><H2>The Pommel™ Markup Language</H2>
  31.  
  32. "Pommel" stands for "Parse-O-Matic Markup-Enhanced Language". It is primarily designed to be used in-house by Pinnacle Software for the rapid creation of help files for <a href="http://www.parse-o-matic.com">custom applications</a>.
  33.  
  34. You may wish to use some features of Pommel in Help files you create for Pinnacle Software products (such as Advanced Scripting in <a href="http://members.aol.com/getmydata/pc-sample.htm">TextHarvest</a>).
  35.  
  36. The most basic form of Pommel is a simple text file with blank lines between paragraphs. If you do not wish to learn about markup tags, this is really all you need to know about Pommel.
  37.  
  38. <h2>Pommel Tags</h2>
  39.  
  40. Pommel is similar to HTML. It recognizes many of the same symbols. However, if you have coded in HTML before, there are a few differences to bear in mind:
  41. <hl>
  42.   ù Blank lines are treated as such; they are not ignored
  43.   ù Markup tags cannot be used across line-breaks
  44.   ù Heading tags (e.g. H1) must be closed (e.g. /H1)
  45.   ù There is a maximum of one anchor tag per displayed line
  46.   ù Tag attributes must be in "quotes"
  47.   ù Files will be displayed in a fixed-pitch font
  48. </hl>
  49. Here are the tags that Pommel recognizes:
  50. <hl>
  51.   ùùù  ùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùù-
  52.   Tag  Description
  53.   ùùù  ùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùù-
  54.   A    Anchor (explained </hl><a href="#ANCHORTG">below</a><hl>)
  55.   B    Bold
  56.   I    Italic
  57.   FS   Font scale (explained </hl><a href="#FONTSCTG">below</a><hl>)
  58.   H    Heading (H1 to H4)
  59.   HL   Highlight (different text color)
  60.   U    Underline
  61.   ùùù  ùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùù-
  62. </hl>
  63. Tags must be explicitly closed (example: /H1), with the exception of the anchor tag with the <hl>name</hl> attribute.
  64.  
  65. Pommel recognizes several standard HTML symbols, such as ampersand-copy-semicolon.  Here are the symbols Pommel knows:
  66. <hl>
  67.   ùùùùùù  ùùùùùùùùùùùùùù   ùùùùùù  ùùùùùùùùùùùùùù   ùùùùùù  ùùùùùùùùùùùùùù
  68.   Symbol  Description      Symbol  Description      Symbol  Description
  69.   ùùùùùù  ùùùùùùùùùùùùùù   ùùùùùù  ùùùùùùùùùùùùùù   ùùùùùù  ùùùùùùùùùùùùùù
  70.   #153    Trademark        gt      Greater-than     nbsp    No-break space
  71.   amp     Ampersand        lt      Less-than
  72.   copy    Copyright        mdash   M-dash
  73.   ùùùùùù  ùùùùùùùùùùùùùù   ùùùùùù  ùùùùùùùùùùùùùù   ùùùùùù  ùùùùùùùùùùùùùù
  74. </hl>
  75. To see a plain-text version of the file you are reading now, click <a href="file://Help-PommelScan.txt">here</a>.
  76.  
  77. <a name="ANCHORTG"><H3>The Anchor Tag</H3>
  78.  
  79. Pommel's anchor (A) tag recognizes the following HRefs:
  80. <hl>
  81.   ùùùùùùùùù   ùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùù
  82.   HRef Type   Explanation
  83.   ùùùùùùùùù   ùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùù
  84.   http://     Same as in HTML
  85.   https://    Same as in HTML
  86.   mailto:     Same as in HTML
  87.   pommel://   Browse a file in Pommel mode
  88.   file://     Browse a file in plain-text mode
  89.   exec:       Windows shell to the file name that follows
  90.   ùùùùùùùùù   ùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùù
  91. </hl>
  92. The pommel:// and file:// features have a maximum nesting level of one.  That is to say, a Pommel file can open up another Pommel file in a new window, but if that window attempts to open another file, it will replace itself.
  93.  
  94. Both the pommel:// and file:// attributes look for the vertical bar (a.k.a. pipe) character after the file name.  If it is found, the text following it is used as the title of the new window, in lieu of the file name. Click <a href="file://Help-PommelScan.txt|This is the HRef-Embedded Title">here</a> to see this in action.
  95.  
  96. <a name="FONTSCTG"><H3>The Font Scale Tag</H3>
  97.  
  98. This tag accepts an X attribute to indicate the size of the following text relative to the standard size. For example, X="0.5" indicates half-sized text.
  99.  
  100. <fs X="0.9">This text is 90% normal size (X="0.9")</fs>
  101.  
  102. <fs X="1.2">This text is 120% normal size (X="1.2")</fs>
  103.  
  104. To return to normal text, use the /FS tag.
  105.  
  106. <h2>Miscellaneous Tips</h2>
  107.  
  108. While viewing a Pommel file via PommelScan's file viewer, you can press F5 to refresh the display. After refresh, the file viewer attempts to reposition itself at the spot where your cursor was last located.  This feature lets you develop a Pommel file in a text editor and view the results immediately after saving.
  109.  
  110. When PommelScan is searching for files, it examines the first 100 lines of each one to see if it can find an H1 tag. If it finds one, it uses the heading as the title in the list of topics.
  111.  
  112. <h2>Legal Notices</h2>
  113.  
  114. PommelScan<fs x="1.5">™</fs> and Pommel<fs x="1.5">™</fs> are trademarks of Pinnacle Software.<fs x="0.75">
  115.  
  116. </fs>PommelScan is Copyright <fs x="1.25">©</fs> 2004 by Pinnacle Software. You may not distribute copies of PommelScan without explicit permission from Pinnacle Software.  Please <a href="mailto:info@parse-o-matic.com">write to us</a> if you would like to adapt PommelScan to your own distributed application.
  117.  
  118. The entire product (comprising software, documentation and supporting provisions) is presented as-is; we make no claim about (and disavow liability for) its suitability, accuracy, reliability, performance etc. If you should encounter a problem with the product, please <a href="mailto:info@parse-o-matic.com">write to us</a> to find out if a solution is available.